<template>
    <tr :class="{'row':title}">
        <template v-if="title">
            <td :colspan="colspan">
                | {{title}}
            </td>
        </template>
        <template v-else>
            <slot></slot>
        </template>
    </tr>
</template>

<script>
export default {
    name: "WTabRow",
    props:['title','colspan'],
}
</script>

<style scoped>
.row{
    font-size: 16px;
    font-weight: 600;
    text-indent: 10px;
}
tr{
    height: 32px;
}
</style>